/*    */ package com.qmsk.business.manage.menu.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.Date;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ import org.springframework.stereotype.Repository;
/*    */ 
/*    */ @Repository
/*    */ public class MenuDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfAll(String key)
/*    */     throws Exception
/*    */   {
/* 32 */     Map params = new HashMap();
/* 33 */     params.put("keyId", key);
/* 34 */     params.put("data", new Date());
/* 35 */     return getGsonOfParams("selectSqlOfAll", params, Integer.valueOf(0), Short.valueOf((short) 10), true);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(Long shopId) throws Exception
/*    */   {
/* 40 */     Map params = new HashMap();
/* 41 */     params.put("data", new Date());
/* 42 */     params.put("shopId", shopId);
/* 43 */     return getGsonOfParams("selectSqlOfAll", params, Integer.valueOf(0), Short.valueOf((short) 20), true);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(String id, Integer nPageIdx, Short nPageSize) throws SQLException {
/* 47 */     Map params = new HashMap();
/* 48 */     params.put("id", id);
/* 49 */     return getGsonOfParams("selectSqlOfAll", params, nPageIdx, nPageSize, true);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.manage.menu.dao.MenuDAO
 * JD-Core Version:    0.5.3
 */